﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Server.Model {
    public class PlanItem {
        public string StartTime { get; set; }
        public string EndTime { get; set; }
        public string AllowUsePC { get; set; }
        public string CreateOn { get; set; }
        public string UpdateOn { get; set; }
        public string Context { get; set; }
    }

    public class DayPlan {
        public DayPlan() {
            PlanItems = new List<PlanItem>();
        }
        public string ID { get; set; }
        public DateTime Date { get; set; }

        private List<PlanItem> planItems = new List<PlanItem>();
        public List<PlanItem> PlanItems {
            get { return planItems; }
            set { this.planItems = value; }
        }
    }
}
